package com.zlp.mybatis.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @author zhulaiping
 * @date 2021/6/23-9:24
 */
@Data
@Alias("u")
@NoArgsConstructor
public class User {

    public User(String username, Date addtime, String testText){
        this.username = username;
        this.addtime = addtime;
        this.testText = testText;
    }
    private Integer id;

    private String username;

    private Date addtime;

    private String testText;

    private byte[] testBlob;
}
